<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>发布学习资料</title>
<style>
    body {
        font-family: 'Arial', sans-serif;
        margin: 0;
        padding: 0;
        background-color: #e6f7ff; /* 浅天蓝色背景 */
    }
    .header {
        background-color: #b3e5fc; /* 天蓝色背景 */
        color: #333;
        padding: 16px;
        text-align: center;
        font-size: 24px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .container {
        padding: 15px;
        display: grid;
        grid-gap: 20px;
    }
    .upload-section {
        background-color: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .upload-btn {
        padding: 10px 20px;
        background-color: #03a9f4; /* 鲜艳的天蓝色 */
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        margin-bottom: 20px;
        font-size: 16px;
    }
    .search-bar, .category-select {
        padding: 10px;
        margin-bottom: 15px;
        border-radius: 5px;
        border: 1px solid #b3e5fc;
        width: 100%;
        box-sizing: border-box;
    }
    .file-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .file-list li {
        background-color: white;
        border-radius: 5px;
        margin-bottom: 10px;
        padding: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    .file-list li:last-child {
        margin-bottom: 0;
    }
    .file-name {
        font-weight: bold;
        color: #03a9f4;
    }
    .action-buttons {
        display: flex;
        gap: 10px;
    }
    .action-button {
        padding: 5px 10px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 14px;
    }
    .edit-btn {
        background-color: #ffeb3b; /* 黄色按钮 */
        color: #333;
    }
    .delete-btn {
        background-color: #f44336; /* 红色按钮 */
        color: white;
    }
</style>
</head>
<body>

<div class="header">
    发布学习资料
</div>

<div class="container">
    <div class="upload-section">
        <button class="upload-btn">上传资料</button>
        <input type="text" class="search-bar" placeholder="搜索资料...">
        <select class="category-select">
            <option value="">所有分类</option>
            <option value="math">数学</option>
            <option value="language">语文</option>
            <option value="english">英语</option>
            <!-- 更多分类 -->
        </select>
    </div>
    
    <ul class="file-list">
        <!-- 文件列表项 -->
        <li>
            <span class="file-name">代数基础.pdf</span>
            <span>数学</span>
            <span>2024-01-30</span>
            <div class="action-buttons">
                <button class="action-button edit-btn">编辑</button>
                <button class="action-button delete-btn">删除</button>
            </div>
        </li>
        <!-- 更多文件列表项 -->
    </ul>
</div>

</body>
</html>
